package com.zx.zxapibackend.model.enums;

/**
 * 用户角色枚举
 *
 * @author 张旭
 * 
 */
public enum InterfaceInfoStatusEnum {

    ONLINE("上线", 1),
    OFFLINE("下线",0);

    private final String text;

    private final int value;

    InterfaceInfoStatusEnum(String text, int value) {
        this.text = text;
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public String getText() {
        return text;
    }
}
